package com.lovo.ssc.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 退货单
 * </p>
 *
 * @author lovo
 * @since 2022-07-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("returnGoods")
public class Returngoods extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "退货单Id", type = IdType.AUTO)
    private Integer 退货单id;

    /**
     * 0-退货中 1-已退款 2-已入库
     */
    @ApiModelProperty(value = "退货单状态")
    private String state;

    @ApiModelProperty(value = "客户名")
    private String name;

    @ApiModelProperty(value = "收货地址")
    private String address;

    @ApiModelProperty(value = "批次")
    private String batch;

    @ApiModelProperty(value = "规格")
    private String specs;

    @ApiModelProperty(value = "退货时间")
    private String time;

    @TableField("goodsName")
    @ApiModelProperty(value = "商品名")
    private String goodsname;

    @ApiModelProperty(value = "数量")
    private Integer num;

    @ApiModelProperty(value = "单价")
    private Float price;


}
